#ifndef UZAWAGAUSSSEIDELSOLVER_H
#define UZAWAGAUSSSEIDELSOLVER_H
#include "basegaussseidelsolver.h"
#include "simplesolver.h"
#include <QThread>

class UzawaGaussSeidelSolver :public SimpleSolver
{
    Q_OBJECT
protected:
    double ro;
    double uzawaEps;
    bool isStopped;
    void run();
//    BaseGaussSeidelSolver * inner_solver;
public:
    UzawaGaussSeidelSolver(BaseGaussSeidelSolver * in_slvr, QObject * parent = 0);
    void setRo(double Ro);
    void setUzawaEps(double UzawaEps);
    void stop();
    //int solve();
};

#endif // UZAWAGAUSSSEIDELSOLVER_H
